package com.cn.module.fuben.response;

import com.cn.serial.Serializer;
/**
 * @Author: jia
 * @Date: 2018/5/4 15:08
 * @Modified By: jia
 * @Descirption: 服务端返回给客户端的数据格式
 */
public class FightResponse extends Serializer{

	/**
	 * 获取金币
	 */
	private int gold;
	
	

	public int getGold() {
		return gold;
	}

	public void setGold(int gold) {
		this.gold = gold;
	}

	@Override
	protected void read() {
		this.gold = readInt();
	}

	@Override
	protected void write() {
		writeInt(gold);
	}
}
